<include file="common/fileinput"/>
<include file="template:style"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Transfer/edit')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<include file="template:input" name="account" label="账号" value="{$data.account}"  attr='data-rule="required;length(~255)" maxlength="255"'/>
				<include file="template:integer" name="touserid" label="目标用户" value="{$data.touserid}"  attr='data-rule="required;length(~10)" maxlength="10"'/>
				<include file="template:input" name="touseraccount" label="目标账号" value="{$data.touseraccount}"  attr='data-rule="required;length(~255)" maxlength="255"'/>
				<include file="template:number" name="curtransbonusratio" label="当前转移比例" value="{$data.curtransbonusratio}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:number" name="userintegral" label="用户获得积分" value="{$data.userintegral}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:number" name="curtransratio" label="当前转移比例" value="{$data.curtransratio}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:number" name="targetbalance" label="目标获得余额" value="{$data.targetbalance}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:number" name="targetintegral" label="目标获得积分" value="{$data.targetintegral}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>